# -*- coding=utf-8 -*-
from django.urls import path
# from django.views.generic import TemplateView
from .views import CourseHome, CourseListView, CourseCreateView, CourseDeleteView #new

app_name = 'course'

urlpatterns = [
	# path('', TemplateView.as_view(template_name='course/home.html')),
	path('', CourseHome.as_view()),
	path('course-list/', CourseListView.as_view(), name='course_list'), #new
	path('course-create/', CourseCreateView.as_view(), name='course_create'),
	path('course-delete/<int:pk>', CourseDeleteView.as_view(), name='course_delete'),
]